

#ifndef _SHELL_RESYWFIGHTRESULT_MESSAGE_H_
#define _SHELL_RESYWFIGHTRESULT_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "VsInfoLog.h"
//#include <vector>
using namespace std;

class ResYWFightResultMessage : public Message
{
	public:
	ResYWFightResultMessage();
	~ResYWFightResultMessage();
	void reset();
	ResYWFightResultMessage* clone();
	static const int _ID;
	//战斗类型1。普通。2特殊。3强制
	int8 fightType;
	//0失败 1成功
	int8 isSucceed;
	//获得妖王标示.0没有其他妖王标示
	int8 yaoWangTag;
	//所有对战信息日志
	vector<VsInfoLog*> vsInfoLog;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
